//
//  ArrayDataSource.h
//  ifangchou
//
//  Created by mac on 15/11/19.
//  Copyright © 2015年 ifangchou. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^TableViewCellConfigureBlock)(id cell, id item);

@interface ArrayDataSource : NSObject<UITableViewDataSource>

@property(nonatomic,strong) NSArray *items;
@property(nonatomic,assign) NSInteger numberOfSections;

- (id)initWithCellIdentifier:(NSString *)aCellIdentifier andConfigureCellBlock:(TableViewCellConfigureBlock)aConfigureCellBlock;

@end
